package com.meihuayishu.mhys_app

import io.flutter.embedding.android.FlutterActivity
import android.os.Bundle
import android.webkit.WebView
import androidx.core.app.ActivityCompat
import android.Manifest
import android.content.pm.PackageManager
import android.widget.Toast

class MainActivity : FlutterActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        
        // 启用WebView的DOM存储和媒体播放
        WebView.setWebContentsDebuggingEnabled(true)
    }
}
